package io.kiki.sba.registry.server.metadata.monitor;

import io.kiki.sba.registry.common.model.slot.FollowerSlotStatus;
import io.kiki.sba.registry.common.model.slot.LeaderSlotStatus;
import io.kiki.sba.registry.common.model.slot.Slot;

public interface SlotStats {

    Slot getSlot();

    boolean isLeaderStable();

    boolean isFollowersStable();

    boolean isFollowerStable(String dataServer);

    void updateLeaderState(LeaderSlotStatus leaderSlotStatus);

    void updateFollowerState(FollowerSlotStatus followerSlotStatus);
}
